package org.jeecg.modules.phone.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.phone.entity.PhoneEntityTaskRsource;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.phone.entity.PhoneEntityTaskRsourceVo;

import java.util.List;

/**
 * @Description: 资源管理
 * @Author: jeecg-boot
 * @Date:   2022-08-31
 * @Version: V1.0
 */
public interface IPhoneEntityTaskRsourceService extends IService<PhoneEntityTaskRsource> {

    IPage<PhoneEntityTaskRsourceVo> pageList(Page<PhoneEntityTaskRsourceVo> page, QueryWrapper<PhoneEntityTaskRsourceVo> queryWrapper);

    void resetStatus(String entityId);

    boolean checkRunning(List<String> phoneEntityTaskRsourceIdsList);
}
